package cn.bandeqing.order.resp;

import cn.bandeqing.base.resp.BaseTable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

@EqualsAndHashCode(callSuper = true)
@Data
public class OrderDiscountsTable extends BaseTable implements Serializable {

    private Long discountsId;

    private Long orderId;

    /**
     * 优惠之前的总价
     */
    private Double beforeTotalPrice;

    /**
     * 优惠金额
     */
    private Double discountsMoney;

    private Integer discountsType;

    /**
     * 优惠之后的总价
     */
    private Double afterTotalPrice;

    /**
     * 备注
     */
    private String discountsRemark;

}
